#pragma once
#include "glew.h"

struct VertexData
{
	float position[3];
	float texcoord[2];
	float normal[3];
};

class ObjModel
{
public:
	void Init(const char * modelFilePath);

	void Bind(GLint posLoc, GLint texcoordLoc, GLint normalLoc);

	void Draw();

	GLuint mVBO, mIBO;
	unsigned int mIndexCount;
};
